transaction timeout

Поиск
Список
Период
Сортировка
От Eugene Strulyov
Тема transaction timeout
Дата
Msg-id 200309261248.54002.Eugene Strulyov
обсуждение исходный текст
Список pgsql-general
Hi everybody,

Our aplpication uses PostgreSQL for data store. We have a problem with the way
long-running transactions are handled.

Our application had a bug (from what I understand it went into an infinite
loop). As a result, the transaction it was processing was neither committed
nor rolled back. Because of that, the misbehaving process was left holding
the locks and none of the other processes were able to do transactions.

My question is, how do I get PostgreSQL to automatically abort transactions
that take longer than a certain timeout?

thanks in advance,

Eugene

В списке pgsql-general по дате отправления:

Предыдущее
От: Dennis Gearon
Дата:
Сообщение: Re: Tuning/performance question.
Следующее
От: Marco Colombo
Дата:
Сообщение: newbie pl/pgsql question